package com.wjs.gulimall.gulimallproduct.dao;

import com.wjs.gulimall.gulimallproduct.VO.SpuItemAttrGroupVo;
import com.wjs.gulimall.gulimallproduct.entity.AttrGroupEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 * 
 * @author wangjingsong
 * @email wangjingsong@gmail.com
 * @date 2022-04-17 15:11:00
 */
@Mapper
public interface AttrGroupDao extends BaseMapper<AttrGroupEntity> {

    List<SpuItemAttrGroupVo> getgroupwithAttrsBySpuId(@Param("spuId") Long spuId, @Param("catalogId") Long catalogId);

}
